package spikes.keyboard;

import java.awt.event.MouseEvent;

@SuppressWarnings("serial")
abstract class SpecialKey extends Key {

	public SpecialKey(NarwhalKeyboard keyboard, String title) {
		super(keyboard, title, title);

	}

	protected abstract void action();

	@Override
	public void mouseClicked(MouseEvent e) {
		action();
	}

}
